<?php
	('Access-Control-Allow-Origin：*');
	include("../config/mysql.php");
	$id = $_POST["id"];
    $account = $_POST["account"];
	$password = $_POST["password"];
	$loginCount = $_POST["loginCount"];
	$db = new mysql();
	$sql = "update examaccount set account='{$account}',password='{$password}',loginCount='{$loginCount}' where id = '{$id}'";
	echo $db->Query($sql);
	$db->close();
?>